package com.czwj.dao;

import java.util.List;
import java.util.Map;

import com.czwj.entities.Goods;

public interface GoodsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Goods record);

    int insertSelective(Goods record);

    Goods selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Goods record);

    int updateByPrimaryKey(Goods record);

	/**
	* @Title: search
	* @Description: TODO
	* @param map
	* @return 参数 
	* @return List<Goods> 返回类型
	* @throws
	*/
	List<Goods> search(Map<String,Object> map);

	/**
	* @Title: count
	* @Description: TODO
	* @param map
	* @return 参数 
	* @return int 返回类型
	* @throws
	*/
	int count(Map<String,Object> map);

	/**
	* @Title: searchbylevel2
	* @Description: TODO
	* @param map
	* @return 参数 
	* @return List<Goods> 返回类型
	* @throws
	*/
	List<Goods> searchbylevel2(Map<String,Object> map);

	/**
	* @Title: countbylevel2
	* @Description: TODO
	* @param map
	* @return 参数 
	* @return int 返回类型
	* @throws
	*/
	int countbylevel2(Map<String,Object> map);

	/**
	* @Title: searchReviewedLevel2
	* @Description: TODO
	* @param map
	* @return 参数 
	* @return List<Goods> 返回类型
	* @throws
	*/
	List<Goods> searchReviewedLevel2(Map<String,Object> map);

	/**
	* @Title: countReviewedLevel2
	* @Description: TODO
	* @param map
	* @return 参数 
	* @return int 返回类型
	* @throws
	*/
	int countReviewedLevel2(Map<String,Object> map);
}